package tongwentongshu.com.app.contract;

import android.app.Activity;
import android.content.Context;

import com.amap.api.maps.AMap;
import com.amap.api.services.district.DistrictItem;

import java.util.List;

import tongwentongshu.com.app.bean.BookListBean;
import tongwentongshu.com.app.bean.MessageReadBean;
import tongwentongshu.com.app.bean.PioBean;

/**
 * Created by XiongBin on 2017/6/26.
 */

public interface MapMainContract {
    interface Model {
    }

    interface View {
        void onSuccess(PioBean poiColony);

        void onLoginSuccess();

        void onSuccess(MessageReadBean bean);

        void onSuccess(BookListBean poiColony);

        void setHierarchy(int hierarchy);
    }

    interface Presenter {
        void initMap(AMap aMap, Context mContext);

        void intiBooks(Activity act);

        void intiMessage(Activity act);

        void login(Context context, String token);

        void intiBooksList(Activity act, String aoiid, String type);
    }
}
